﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using CONEK911Manager.DTO;

namespace CONEK911Manager
{
    public partial class FormMembersManager : Form
    {
        List<AccountDTO> _listAccount = new List<AccountDTO>();
        readonly Dictionary<string, string> _textboxWithText = new Dictionary<string, string>();
        public FormMembersManager()
        {
            InitializeComponent();
            _textboxWithText.Add("txtSearchMember", "Tìm kiếm (tài khoản, tên thành viên)");
            _textboxWithText.Add("txtMemberAccount", "Tài khoản");
            _textboxWithText.Add("txtProductName", "Tên sản phẩm");
            _textboxWithText.Add("txtProductSize", "Kích thước");
            _textboxWithText.Add("txtProductPV", "Số PV");
            _textboxWithText.Add("txtProductQuantity", "Số lượng");
            _textboxWithText.Add("txtProductPriceNoVAT", "Giá chưa VAT");
            LoadImage();
            BindData();
        }

        private void BindData()
        {
            throw new NotImplementedException();
        }

        private void LoadImage()
        {
            btnAddUpdateMember.Image = Base64String.ToImage(Base64String.Add);
            btnDeleteMember.Image = Base64String.ToImage(Base64String.Delete);
            btnSearchMember.Image = Base64String.ToImage(Base64String.Search);
            btnViewAllMember.Image = Base64String.ToImage(Base64String.List);
        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {

        }
    }
}
